package com.example.caorl;

import org.springframework.context.annotation.Bean;

@org.springframework.context.annotation.Configuration
public class Configuration {

    @Bean("student3")
    public Student student() {
        Student student = new Student();
        student.setId(3);
        student.setName("sutdent3");
        return student;

    }
}
